﻿<%@ Page Language="C#" AutoEventWireup="true" MasterPageFile="~/SalesOneWeb.Master" CodeBehind="ManageCodeType.aspx.cs" Inherits="IronOne.SalesOne.SalesOneWeb.UserManagement.ManageCodeType" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    </asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">

        <table class="style1">
            <tr>
                <td colspan="2">
                    <asp:Label ID="CodeTypeLabel" runat="server" Font-Bold="True" Font-Size="Large"></asp:Label>
                </td>
            </tr>
            <tr>
                <td colspan="2">
                    <asp:Label ID="FunctionLabel" runat="server" Font-Bold="True" 
                        Font-Size="Medium"></asp:Label>
                </td>
            </tr>
            <tr>
                <td>
                    Code:</td>
                <td>
                    <asp:TextBox ID="CodeTextBox" runat="server"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="codeRequiredFieldValidator" runat="server" 
                        ControlToValidate="CodeTextBox" ErrorMessage="Code feild cannot be empty">**</asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <td>
                    Description:</td>
                <td>
                    <asp:TextBox ID="DescriptionTextBox" runat="server"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="descriptionRequiredFieldValidator" 
                        runat="server" ControlToValidate="DescriptionTextBox" 
                        ErrorMessage="Description feild cannot be empty">**</asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <td>
                    &nbsp;</td>
                <td>
                    <asp:Button ID="SaveButton" runat="server" onclick="SaveButton_Click" 
                        Text="SAVE" />
                    <asp:Button ID="CancelButto2" runat="server" onclick="Button2_Click" 
                        Text="CANCEL" CausesValidation="False" />
                </td>
            </tr>
            <tr>
                <td>
                    &nbsp;</td>
                <td>
                    <asp:Label ID="lblMsg" runat="server"></asp:Label>
                </td>
            </tr>
            <tr>
                <td colspan="2">
                    <asp:ValidationSummary ID="ValidationSummary1" runat="server" />
                </td>
            </tr>
        </table>
    </asp:Content>